package com.querie.dao;

import java.util.List;

import com.querie.model.beans.SessionFragment;

public interface SessionfragmentDAO {
	public SessionFragment load(final long sessionid, final long fragmentid)
			throws Exception;

	public int delete(final long sessionid, final long fragmentid)
			throws Exception;

	public int update(final SessionFragment data) throws Exception;

	public long insert(final SessionFragment data) throws Exception;

	public List<SessionFragment> queryAllWithPage(int startOfPage,
			int... pageSize) throws Exception;

	public List<SessionFragment> queryAll() throws Exception;
	
	public int deleteAll() throws Exception;
}